﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Controles
{
    public partial class MaskedTextBoxSAD : MaskedTextBox
    {
        public MaskedTextBoxSAD()
        {
            InitializeComponent();
        }

        protected override void OnEnter(EventArgs e)
        {
            this.BackColor = Color.FromArgb(255, 255, 192);
            base.OnEnter(e);
        }

        protected override void OnLeave(EventArgs e)
        {
            this.BackColor = Color.White;
            base.OnLeave(e);
        }
    }
}
